<template>
    <div class="toast">
        <span>{{ toastText }}</span>
    </div>
</template>

<script>
export default {
    props: ['toastText'],
};
</script>

<style>
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 300px;
    min-height: 100px;
    text-align: center;
    padding: 0 30px;
    display: flex;
    display: flex;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 30px;
    color: #fff;
    transform: translate(-50%, -80%);
}
</style>
